package net.tribal.comic.entities

class Tag {
	
	//	Attributes
	String 	name
	String 	description
	
	Boolean disabled = false
	
	Date 	dateCreated
	Date 	lastUpdated

	
	//	DB Relations
	static belongsTo = 	[createdBy:	User]
	
	
	//	DB Constraits
	static constraints = {
		name(blank:false, unique:true, maxSize:50)
		description(nullable:true, maxSize:1000)
	}
}